package com.zm.demo.javaagent.premain;

import java.lang.instrument.Instrumentation;

/**
 * @author zoum
 * @create 2019/12/26 10:51
 */
public class SimpleAgentPreMain {

    public static void premain(String agentArgs, Instrumentation inst) {
        System.out.println("=========开始执行premain============");
        SimpleAgentTransformer transformer = new SimpleAgentTransformer();
        inst.addTransformer(transformer);

    }
}
